<?php

//电击系技能


class Jio extends SingleAttack {

	public function __construct() {
		$this->id = 144;
		$this->name = "ジオ";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 10;
		$this->ap = 2;

		$this->pwr = 150;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射

	}

}

class JioGa extends SingleAttack {

	public function __construct() {
		$this->id = 145;
		$this->name = "ジオンガ";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 25;
		$this->ap = 3;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射

	}
	
	public function attk_desc($a,$b) {
		if($a->cid == 2) {
			$_SESSION['show'] .= "击穿吧 雷电<br>";
		}
		parent::attk_desc($a,$b);
	}

}

class JioDain extends SingleAttack {

	public function __construct() {
		$this->id = 146;
		$this->name = "ジオダイン";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 40;
		$this->ap = 5;

		$this->pwr = 170;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射

	}
	
	public function attk_desc($a,$b) {
		if($a->cid == 141) {
			$_SESSION['show'] .= $a->name."：“雷火招来。”<br>";
			CalHelper::cgdisplay('guiwood_dain.jpg');
		}
		parent::attk_desc($a,$b);
	}

}

class MahaJio extends AllAttack {

	public function __construct() {
		$this->id = 147;
		$this->name = "マハジオ";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 20;
		$this->ap = 3;

		$this->pwr = 150;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射

	}

	public function attk_desc($a,$b) {
		if($a->cid == 7) {
			$_SESSION['show'] .= "不用看了，劈得就是你<br>";
		}   
		parent::attk_desc($a,$b);
	}

}

class MahaJioGa extends AllAttack {

	public function __construct() {
		$this->id = 149;
		$this->name = "マハジオンガ";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 35;
		$this->ap = 4;

		$this->pwr = 160;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射

	}

}

class MahaJioDain extends AllAttack {

	public function __construct() {
		$this->id = 149;
		$this->name = "マハジオダイン";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 50;
		$this->ap = 6;

		$this->pwr = 170;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射

	}
	
	public function attk_desc($a,$b) {
		if($a->cid == 141) {
			$_SESSION['show'] .= $a->name."：“天雷群舞！”<br>";
			CalHelper::cgdisplay('guiwood_dain.jpg');
		}
		parent::attk_desc($a,$b);
	}

}

class SofStar extends SingleAttack {

	public function __construct() {
		$this->id = 150;
		$this->name = "ソルブラスター";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 70;
		$this->ap = 7;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 105;		//随机波动上下限。
		$this->minp = 95;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
	}

}

class UnlimitedThunder extends AllAttack {

	public function __construct() {
		$this->id = 151;
		$this->name = "無量雷";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 75;
		$this->ap = 8;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 115;		//随机波动上下限。
		$this->minp = 85;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
	}

	public function attk_desc($a,$b) {
		if($b->gender == 1 && $b->res[3] == 5) {
			CalHelper::spec_talk($this,1,"在轰雷的厉火中化为黑烬吧，痴汉".$b->name."！<br>");
		} elseif($a->cid ==2) {
			CalHelper::spec_talk($this,2,"响彻吧战栗的稻妻！");
		}
		parent::attk_desc($a,$b);
	}
}

class NaruKami extends SingleAttack {

	public function __construct() {
		$this->id = 152;
		$this->name = "ナルカミ";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 60;
		$this->ap = 6;

		$this->pwr = 165;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->maxp = 105;		//随机波动上下限。
		$this->minp = 95;

		$this->maxt = 3;		//攻击次数上下限
		$this->mint = 2;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->excid = array(87,147);
	}

	public function post_action($a,$b) {
		if($this->ex == 1) {
			StatusHelper::mgr_down_20($b);
		}
	}

}

class JudgeThunder extends SingleAttack {

	public function __construct() {
		$this->id = 153;
		$this->name = "裁きの雷火";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 80;
		$this->ap = 10;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 125;		//随机波动上下限。
		$this->minp = 75;

		$this->maxt = 2;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->excid = array(24);
	}

	public function exskset() {
		$this->sp = 70;
		$this->ap = 9;
	}

}

class MadThunder extends SingleAttack {

	public function __construct() {
		$this->id = 154;
		$this->name = "狂信の雷";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 70;
		$this->ap = 6;

		$this->pwr = 210;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->excid = array(25);
	}

	public function exskset() {
		$this->pwr = 250;
		$this->sp = 80;
		$this->ap = 7;
	}

	public function post_action($a,$b) {
		StatusHelper::luk_down_20($b);
	}

	public function attk_desc($a,$b) {
		parent::attk_desc($a,$b);
		if($this->ex == 1) {
			$_SESSION['show'] .= "一团黑雾笼罩周围<br>";
			CalHelper::cgdisplay('violet_1.jpg');
		}
	}

}

class FoolIsCrime extends SingleAttack {

	public function __construct() {
		$this->id = 155;
		$this->name = "愚者断罪";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 130;
		$this->ap = 13;

		$this->pwr = 170;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 110;		//随机波动上下限。
		$this->minp = 90;

		$this->maxt = 5;		//攻击次数上下限
		$this->mint = 3;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 1;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->abase = 50;
		$this->isunique = 1;
	}

	public function arskset() {
		$this->maxt = 4;
		$this->mint = 4;
	}
	
	public function post_action($a,$b) {
		StatusHelper::pala($a,$b,$this->abase,$this);
	}

}

class ThunderDance extends AllAttack {

	public function __construct() {
		$this->id = 156;
		$this->name = "雷神演武";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 160;
		$this->ap = 14;

		$this->pwr = 250;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 15;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 105;		//随机波动上下限。
		$this->minp = 95;

		$this->maxt = 2;		//攻击次数上下限
		$this->mint = 2;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 1;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->maxt = 3;
		$this->mint = 3;
	}
}

class GraceArrow extends SingleAttack {

	public function __construct() {
		$this->id = 157;
		$this->name = "天恵の矢";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 160;
		$this->ap = 13;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 10;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->maxp = 115;		//随机波动上下限。
		$this->minp = 85;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->thru = 0;		//贯通
		$this->defbreak = 0;	//破防

		$this->all_atk = 1;		//万能攻击
		$this->ref = 0;			//强制反射
		$this->isunique = 1;
	}
	
	public function arskset() {
		$this->pwr = 400;
		$this->crt = 20;
	}
}

class TruthThunder extends SingleAttack {

	public function __construct() {
		$this->id = 158;
		$this->name = "真理の雷";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 160;
		$this->ap = 14;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 15;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->isunique = 1;
		$this->abase = 50;
	}
	
	public function arskset() {
		$this->pwr = 400;
		$this->abase = 60;
	}
	
	public function post_action($a,$b) {
		StatusHelper::pala($a,$b,$this->abase,$this);
	}

}

class ParalysisThunder extends SingleAttack {

	public function __construct() {
		$this->id = 159;
		$this->name = "くりからの黒龍";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 170;
		$this->ap = 15;

		$this->pwr = 400;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 20;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 120;		//随机波动上下限。
		$this->minp = 80;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 1;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->isunique = 1;
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= "无数黑光汇成巨龙，扑向".$b->name."<br>";
		CalHelper::cgdisplay("violet_2.jpg");
	}	

	public function kill_desc($a,$b) {
		$_SESSION['show'] .= $b->name."的每一根神经都被电焦，尸身还在不断抽搐<br>";
	}	

}

class TeddyBearAngry extends AllAttack {

	public function __construct() {
		$this->id = 160;
		$this->name = "ユピテルの怒り";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 180;
		$this->ap = 16;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 115;		//随机波动上下限。
		$this->minp = 85;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 1;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->abase = 40;
		$this->god_abn = 1;
		$this->isunique = 1;
	}
	public function arskset() {
		$this->pwr = 400;
	}

	public function post_action($a,$b) {
		StatusHelper::pala($a,$b,$this->abase,$this);
	}

}

class CharmThunder extends AllAttack {

	public function __construct() {
		$this->id = 581;
		$this->name = "湿った風";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 130;
		$this->ap = 13;

		$this->pwr = 300;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->plus = 1;			//复数减成
		$this->crt = 20;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 1;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->isunique = 1;
		$this->abase = 50;
	}
	
	public function post_action($a,$b) {
		StatusHelper::lure($a,$b,$this->abase,$this);
	}

}

class DarkThunder extends AllAttack {

	public function __construct() {
		$this->id = 582;
		$this->name = "黑雷";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 160;
		$this->ap = 13;

		$this->pwr = 280;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->plus = 1;			//复数减成
		$this->crt = 0;				//会心补正

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 1;		//全体攻击时实际攻击人数

		$this->maxp = 100;		//随机波动上下限。
		$this->minp = 100;

		$this->maxt = 3;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 1;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->isunique = 1;
	}

	public function attk_desc($a,$b) {
		$_SESSION['show'] .= $a->name."发动".$this->name."，无数光芒奔涌向".$b->name."。<br>";
		CalHelper::cgdisplay('violet_3.jpg');
	}
	
}

class GodMalice extends SingleAttack {

	public function __construct() {
		$this->id = 583;
		$this->name = "神の悪意";			//技能名称
		$this->type = 3;				//组别
		$this->atk_type = 3;	//0物 1火 2冰 3雷 4地 5风 6光 7暗 8万能

		$this->hp = 0;			//消耗
		$this->sp = 150;
		$this->ap = 12;

		$this->pwr = 350;			//基本攻击值
		$this->hits = 0;			//最终命中补正
		$this->ahits = 0;			//异常命中补正
		$this->shits = 0;			//即死命中补正
		$this->crt = 0;				//会心补正
		$this->plus = 1;      //复数减成

		$this->charge = 1;		//蓄力倍率,包含物理和魔法
		$this->res = 1;			//耐性倍率

		$this->tgtnum = 0;		//全体攻击时实际攻击人数

		$this->maxp = 115;		//随机波动上下限。
		$this->minp = 85;

		$this->maxt = 1;		//攻击次数上下限
		$this->mint = 1;

		$this->thru = 0;		//是否贯通

		$this->all_atk = 0;		//是否万能攻击
		$this->ref = 0;			//是否强制反射
		$this->isunique = 1;
	}

	public function arskset() {
		$this->pwr = 390;
	}
	
	public function post_action($a,$b) {
		StatusHelper::luk_down_20($b);
		if($this->ar == 1) {
			StatusHelper::spd_down_20($b);
		}
	}

}



?>
